package com.bookhouse.service.impl;

import com.bookhouse.dao.BaseDao;
import com.bookhouse.dao.ReaderDao;
import com.bookhouse.entity.Reader;
import com.bookhouse.service.ReaderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by CiusCheung on 16/4/9.
 */
@Service("readerService")
public class ReaderServiceImpl extends BaseServiceImpl<Reader> implements ReaderService {

    @Resource(name = "readerDao")
    private ReaderDao readerDao;

    @Override
    protected BaseDao<Reader> getDao() {
        return this.readerDao;
    }
}
